package org.jeecg.modules.equipment.useelectricity.service.impl;

import org.jeecg.modules.equipment.useelectricity.entity.DmUseelectricity;
import org.jeecg.modules.equipment.useelectricity.mapper.DmUseelectricityMapper;
import org.jeecg.modules.equipment.useelectricity.service.IDmUseelectricityService;
import org.jeecg.modules.equipment.watermeter.mapper.DmWatermeterMapper;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;

/**
 * @Description: 用电项目表
 * @Author: jeecg-boot
 * @Date:   2021-11-25
 * @Version: V1.0
 */
@Service
public class DmUseelectricityServiceImpl extends ServiceImpl<DmUseelectricityMapper, DmUseelectricity> implements IDmUseelectricityService {
    @Resource
    private DmUseelectricityMapper dmUseelectricityMapper;


    @Override
    public String queryMaxCode(String tenantId) {
        return  dmUseelectricityMapper.queryMaxCode(tenantId);
    }
}
